package com.example.smartgreenhouse.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("threshold_history")
public class ThresholdHistory {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long settingId;
    private String type;
    private int minValue;
    private int maxValue;
    private String operator;
    private LocalDateTime createTime;
}